package org.jeecg.modules.demo.com.kunpeng.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.demo.com.kunpeng.entity.SupplierGrade;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description: 供应商等级表
 * @Author: jeecg-boot
 * @Date:   2023-01-09
 * @Version: V1.0
 */
@Transactional
public interface ISupplierGradeService extends IService<SupplierGrade> {

    /**
     * 新增
     * @param supplierGrade
     */
    void insert(SupplierGrade supplierGrade);

    /**
     * 获取供货商等级列表
     * @return
     */
    List<String> supplierGradeList();

    /**
     * 等级模糊查询
     */
    Page<SupplierGrade> queryListByGrade(Page<SupplierGrade> page, String keyWords);
}
